package com.digitaldreamers.ddmonsters.network.packet.sending;

import java.io.DataOutputStream;
import java.io.IOException;

import com.digitaldreamers.ddmonsters.Constants;
import com.digitaldreamers.framework.network.packet.AbSendablePacket;

public class SLoginByUiidRequest extends AbSendablePacket {
	private String mUiid;
	
	public SLoginByUiidRequest(String pUiid) {
		mPacketId = Constants.PACKET_ID__LOGIN_REQUEST;
		mUiid = pUiid;
	}
	
	@Override
	protected void writeData(DataOutputStream pDOS) throws IOException {
        pDOS.writeInt(this.mPacketId);
        pDOS.writeUTF(this.mUiid);
	}
}
